package com.qdxwx.data.mapper.order;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.order.OrderAllotDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface OrderAllotDetailMapper {

    int insertOrderAllotDetail(OrderAllotDetail allotDetail);

    OrderAllotDetail selectById(int id);

    List<OrderAllotDetail> selectList(@Param("e") OrderAllotDetail allotDetail, @Param("page") PageRequest page);

    int count(@Param("e") OrderAllotDetail allotDetail);


    int updateCombine(long userId1, long userId2);
}